﻿Public Class Form1

    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        'TODO: This line of code loads data into the 'PCV_FISHDataSet.TCTonKho' table. You can move, or remove it, as needed.
        Me.TCTonKhoTableAdapter.Fill(Me.PCV_FISHDataSet.TCTonKho)
        'TODO: This line of code loads data into the 'PCV_FISHDataSet.TCCongNoPhaiTra' table. You can move, or remove it, as needed.
        Me.TCCongNoPhaiTraTableAdapter.Fill(Me.PCV_FISHDataSet.TCCongNoPhaiTra)
        'TODO: This line of code loads data into the 'PCV_FISHDataSet.TCCongNoPhaiThu' table. You can move, or remove it, as needed.
        Me.TCCongNoPhaiThuTableAdapter.Fill(Me.PCV_FISHDataSet.TCCongNoPhaiThu)
        'TODO: This line of code loads data into the 'PCV_FISHDataSet.dmtinhtrang' table. You can move, or remove it, as needed.
        Me.DmtinhtrangTableAdapter.Fill(Me.PCV_FISHDataSet.dmtinhtrang)
        'Me.DmtinhtrangTableAdapter.insertTinhTrang("", "")

    End Sub

    Private Sub DmtinhtrangBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DmtinhtrangBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.DmtinhtrangBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.PCV_FISHDataSet)

    End Sub

    Private Sub FillToolStripButton_Click(sender As System.Object, e As System.EventArgs) Handles FillToolStripButton.Click
        Try
            'Me.GetTCCongNoPhaiThu_isTonTaiTableAdapter.Fill(Me.PCV_FISHDataSet.getTCCongNoPhaiThu_isTonTai, New System.Nullable(Of System.Guid)(New System.Guid(UidToolStripTextBox.Text)))
        Catch ex As System.Exception
            System.Windows.Forms.MessageBox.Show(ex.Message)
        End Try

    End Sub
End Class